package com.regex.web.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.regex.web.common.excel.annotation.ExcelField;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 
 * 〈一句话功能简述〉<br> 
 * baseEntity
 *
 * @author ocean.regex
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class StrIdBaseEntity extends Model<StrIdBaseEntity> implements Serializable  {
    
    /**
     */
    private static final long serialVersionUID = 3543713252487811241L;

    @ExcelField(title="数据id",  align=2 , sort=0)
    @TableId(value = "id", type = IdType.UUID)
    protected String id;
    
    @ExcelField(title="创建时间", type=0, align=2 , sort=100)
    @TableField("create_time")
    protected Date createTime;
    
    @TableField("update_time")
    protected Date updateTime;
    
    @TableField("is_del")
    @TableLogic
    protected String isDel;

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
